#!/usr/bin/python

class Queue:
	def __init__(self):
		self.items = []

	def isEmpty(self):
		return self.items == []

	def enqueue(self, item):
		self.items.insert(0, item)

	def dequeue(self):
		return items.pop()

	def size(self):
		return len(self.items)


# 约瑟夫问题 -- 烫手山芋

# 模拟打印机

